In [ ]:
from hs3_meta_data import metaDataTool
Metadata without online resources
In [ ]:
metaData=metaDataTool()
In [ ]:
xmldata=metaData.getMetaData(rootDir="path/To/NetCDF/Folder",ds_short_name="hs3cpl", versionId=1)
In [ ]:
print(xmldata)
With online resources
In [ ]:
metaData=metaDataTool(metaDataURLResources="REST API URL", metaDataAPI="REST API key")
In [ ]:
xmldata=metaData.getMetaData(rootDir="path/To/NetCDF/Folder",ds_short_name="hs3cpl", versionId=1)
In [ ]:
print(xmldata)